import sleep from './modules/sleep';
import getSiderBarMenu from './modules/getSiderBarMenu';
import percentAdjust from './modules/percentAdjust';
import logoutSys from './modules/logoutSys';
import precentChat from './modules/percentAdjust';
import * as tools from './tools';

// 通用常量
/**系统登录方式：
 * true-表示短信验证码登录方式；
 * false-表示普通登录方式*/
const LOGIN_TYPE_SMS = process.env.REACT_APP_LOGIN_STYLE?.toString() === 'sms' ? true : false;

const APP_ID = 'ZNWH-V2';

// 统一暴露utils目录下modules方法(除eventBus外), 简化import
export {
  logoutSys,
  sleep,
  getSiderBarMenu,
  percentAdjust,
  precentChat,
  tools,
  LOGIN_TYPE_SMS,
  APP_ID,
};
